﻿using System.Collections.ObjectModel;

namespace MultiMenuDemo
{
    public class Department
    {
        public string Name { get; set; }
        public string ImagePath { get; set; }
        public ObservableCollection<Project> SubItems { get; set; }

        public Department()
        {
            SubItems = new ObservableCollection<Project> {
                new Project
                {
                    Name = "项目组1",
                    ImagePath = string.Empty
                },
                new Project
                {
                    Name = "项目组2",
                    ImagePath = string.Empty
                },
                new Project
                {
                    Name = "项目组3",
                    ImagePath = string.Empty
                },
                new Project
                {
                    Name = "项目组4",
                    ImagePath = string.Empty
                },
                new Project
                {
                    Name = "项目组5",
                    ImagePath = string.Empty
                },
                new Project
                {
                    Name = "项目组6",
                    ImagePath = string.Empty
                }
            };
        }
    }
}
